{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "6eae3b4f",
   "metadata": {
    "ExecuteTime": {
     "end_time": "2021-10-08T14:04:55.006512Z",
     "start_time": "2021-10-08T14:04:54.985511Z"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "课程表\n",
      "5\n",
      "周五有两节课\n",
      "1-2AI\n",
      "4-5大英\n"
     ]
    }
   ],
   "source": [
    "print(\"课程表\")\n",
    "import datetime\n",
    "time = datetime.datetime.today().weekday()\n",
    "week_time = int(time)\n",
    "print (week_time + 1)\n",
    "if week_time==0:\n",
    "    print(\"周一有一节课\");print(\"8-10Python语言\")\n",
    "elif week_time==1:\n",
    "    print(\"周二有两节课\");print(\"8-10网站运营与管理\");print(\"12-13毛概实践\")\n",
    "elif week_time==2:\n",
    "    print(\"周三有两节课\");print(\"1-2大英\");print(\"12-13创业实践\")\n",
    "elif week_time==3:\n",
    "    print(\"周四有两节课\");print(\"3-5毛概\");print(\"8-9网球\")\n",
    "elif week_time==4:\n",
    "    print(\"周五有两节课\");print(\"1-2AI\");print(\"4-5大英\")\n",
    "else:\n",
    "    print(\"周六、周日\");print(\"周末\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "80e1ada4",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  },
  "varInspector": {
   "cols": {
    "lenName": 16,
    "lenType": 16,
    "lenVar": 40
   },
   "kernels_config": {
    "python": {
     "delete_cmd_postfix": "",
     "delete_cmd_prefix": "del ",
     "library": "var_list.py",
     "varRefreshCmd": "print(var_dic_list())"
    },
    "r": {
     "delete_cmd_postfix": ") ",
     "delete_cmd_prefix": "rm(",
     "library": "var_list.r",
     "varRefreshCmd": "cat(var_dic_list()) "
    }
   },
   "types_to_exclude": [
    "module",
    "function",
    "builtin_function_or_method",
    "instance",
    "_Feature"
   ],
   "window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
